package com.bstek.bdf4.enums;

/**
 * @Title: EnumBean
 * @Package: com.bstek.bdf3.enums
 * @Description:
 * @Author: zxq
 * @Date: 2023/11/13 - 14:22
 */
public class EnumBean<T> {
    private final T code;

    private final String msg;

    EnumBean(T code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public T getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    @Override
    public String toString() {
        return "EnumBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }
}